package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "focus_user")
public class UserFocus implements java.io.Serializable{

    private static final long serialVersionUID = 6739999998394686523L;

    private ObjectId id;
    //用户id
    private Long userId;
    //关注的用户id
    private Long focusUserId;
    //创建时间
    private Long created;
}
